﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Session["hello"].ToString().Equals("hello"))
        {
            Response.Redirect("AuthLogin.aspx");
        }
        else
        {
            
            //abcd.InnerHtml = "Hello";
        }

    }
    protected void LogoutLinkButton_Click(object sender, EventArgs e)
    {
        Session["hello"] = "Logout";
        Response.Redirect("http://accounts.google.com/logout");
    }
}